<template>
  <div>
    <video :src="surl" controls></video>
    <p>{{stitle ? stitle : '剪影购票，极致体验'}}</p>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  name: 'ShowSvideoInfo',
  computed: {
    ...mapState(['surl', 'stitle'])
  },
  created () {
  }
}
</script>

<style scoped>
div{
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
}
video{
  margin-top: 20px;
  width: 100%;
  height: 200px;
}
p{
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  font-weight: bold;
}
</style>
